﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DataAccess;
using Entities;

namespace BusinessLogic
{
    public class BllProduct
    {
        DataProduct data;
        public BllProduct()
        {
            data = new DataProduct();
        }
        public List<Product> GetAll()
        {
            return data.GetAll();
        }
        public void AddObject(Product product)
        {
            data.AddObject(product);
        }
        public void UpdateObject(Product product)
        {
            data.UpdateObject(product);
        }
    }
}
